//设置sessionStorage
export function setSession(name, val) {
  sessionStorage.setItem(name, JSON.stringify(val))
}
//设置sessionStorage
export function getSession(name){
  return JSON.parse(sessionStorage.getItem(name))
}
//设置sessionStorage
export function addStorage(name, addVal) {
  let oldVal = Storage.get(name)
  let newVal = oldVal.concat(addVal)
  Storage.set(name, newVal)
}
